package com.wowo.aoon;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

@Controller
public class UserController {
    @Autowired
    UserService userService;
    public void save(){
        System.out.println("-----------------------------");
        userService.save();
    }

    public UserService getUserService() {
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }
}
